compDate

fun compDate(t1: Txn, t2: Txn): Int

Compare the transaction date of two transactions.

Return

0 if they are the same, < 0 if left is less than right, > 0 otherwise.

Parameters

t1

First transaction to compare (left hand side).

t2

Second transaction to compare (right hand side).